<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body style="margin-top: 0; margin-left: 0; background-color: white">
<div align="center">
<table width="800" style="border: 3px solid #196f99;" cellspacing="0"
	cellpadding="0" rules="none">
	<tr>
		<td><!--#054463 font-face:verdana; font-size:12pt; --> <img
			src="Wayden.jpg" align="left" HSPACE=0></td>
	</tr>
	<tr>
		<td><!--#054463 font-face:verdana; font-size:12pt; -->
		<table width="auto" height="auto" border="0" cellspacing="0"
			cellpadding="0" rules="none">
			<tr>
				<td colspan=2><!--#054463 font-face:verdana; font-size:12pt; -->
				<table width="180" height=700 style="background-color: #ebf3fd;">
					<tr>
						<td height="50" width="180" bgcolor="#339999">&nbsp;</td>
					</tr>
					<tr>
						<td colspan=2>&nbsp;</td>
					</tr>
					<tr>
						<td>
						<table width="180" align="center"
							style="background-color: #ebf3fd;">
							<tr>
								<td>Hello!</td>
								<td>
								<%
								    out.println(session.getAttribute("login"));
								%>
								</td>
							</tr>
							<tr>
								<td><b></b></td>
								<td><form action="logout.jsp" method="post"><input type="submit" name="Submit" value="SignOut"
									style="" align="left"></form></td>
							</tr>

							<tr>
								<td><s:url id="profile" action="profile">
									
								</s:url> <s:a href="%{profile}">Profile</s:a></td>
								<td><s:url id="friend" action="friend">
									
								</s:url> <s:a href="%{friend}">Friends</s:a></td>


								<td><s:url id="messages" action="messages">
									
								</s:url> <s:a href="%{messages}">Messages</s:a></td>
								<td></td>
							</tr>
							<!--<tr><td colspan=2>&nbsp;</td></tr>-->
						</table>
						</td>
					</tr>
					<tr>
						<td height="650" width="180" bgcolor="#339999">&nbsp;</td>
					</tr>
				</table>
				</td>
				<td height="700" width="700"><!--#054463 font-face:verdana; font-size:12pt; -->
			
				<table align="center" width="500">
					<tr>
						<td width="500" height="700" valign="top"><s:url
							action="welcome" id="welcome">
							
						</s:url>
						<center><s:a href="%{welcome}">welcome page</s:a><s:url
							action="setting" id="setting">
							
						</s:url><s:a href="%{setting}">setting page</s:a></center>




						<s:form action="profileSave">

							<tr>
								<td><b>User: </b><s:property value="name" />
							<tr>
								<td><s:text name="About"></s:text> <s:textarea id="about"
									name="about" rows="10" cols="50"></s:textarea>
							<tr>
								<td><s:text name="Logo" /> <s:if test="logo!=''">
									<img src="<s:property value="logo"/>">
								</s:if> <s:else>
									<img src="profile/nofoto.jpg">
								</s:else> <s:hidden name="id"></s:hidden>
							<tr>
								<td><s:if test="id2==null">
									<s:submit value="Save">
									</s:submit>
								</s:if>
						</s:form></td>
					</tr>
				</table>
		</table>
		</td>
		</td>
	</tr>
</table>
</td>
</tr>
<tr>
	<td width="800" height="20">
	<p align="center"><font
		style="font-family: tahoma; font-size: 10px;"> <i>&copy;
	Copyright training Антон Lucky Cat, Лиходед Сашка, Микола и Тарас
	Одинский </i> </font>
	</td>
</tr>
</table>
</body>
</html>